This detector monitors and controls biosolids interface levels, and automates silt/sludge removal in clarifiers, sedimentation basins and tanks when treating incoming water or wastewater. It allows users to program de-sludge pumps to operate only when necessary, preventing carryover, optimizing feed density for improved filter press/centrifuge/digester performance, and bettering outflow for reuse.